﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PictureManager.Core;
using WeifenLuo.WinFormsUI.Docking;
using PictureManager.Controls;
using Infrastructure.UI;

namespace PictureManager
{
    public partial class frmSetting : BaseForm
    {
        public frmSetting()
        {
            InitializeComponent();
        }
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            
        }
        public override void InitData()
        {
            base.InitData();
            BindingManager.Instance.Binding(this, PictureSettings.Instance, true);
        }
        public override void InitEvent()
        {
            base.InitEvent();
            this.btnSave.Click += new EventHandler(btnSave_Click);
        }

        void btnSave_Click(object sender, EventArgs e)
        {
            PictureSettings.Instance.Save();
        }


    }
}
